package com.spring.dao.impl;

import org.springframework.stereotype.Repository;

import com.spring.dao.IUserDao;
import com.spring.model.User;
@Repository("userDao")
public class UserDaoImpl implements IUserDao {

	@Override
	public void addUser(User user) {
		System.out.println("added...");
	}

	@Override
	public void delUser(int id) {
		System.out.println("deleted...");
	}

	@Override
	public void update(int id) {
		System.out.println("updated...");
	}

	@Override
	public User loadUser(int id) {
		System.out.println("loaded...");
		return null;
	}

}
